#include <stdio.h>
int main()
{
    int n,m,x,y,temp,i=0,j=0 ;
    printf("shu:");
    scanf("%d,%d",&x,&y);
    printf("%d,%d\n",x,y);
    n=2*x+1 ;
    m=2*y+1 ;
    printf("%d,%d\n",n,m);
    while(j<m)
    {
        j++;
        temp=j%2 ;
        i=0 ;
        if(j==1)
        {
            while(i<n)
            {
                i++;
                if(i==1)
                {
                    printf("\xC9");
                    continue ;
                }
                if(n==i)
                {
                    printf("\xBB\n");
                    continue ;
                }
                if(i%2!=0)
                {
                    printf("\xCB");
                    continue ;
                }
                if(i%2==0)
                {
                    printf("\xCD\xCD\xCD");
                    continue ;
                }
                
            }
            continue ;
        }
        if(m==j)
        {
            while(i<n)
            {
                i++;
                if(i==1)
                {
                    printf("\xC8");
                    continue ;
                }
                if(n==i)
                {
                    printf("\xBC\n");
                    continue ;
                }
                if(i%2!=0)
                {
                    printf("\xCA");
                    continue ;
                }
                if(i%2==0)
                {
                    printf("\xCD\xCD\xCD");
                    continue ;
                }
                
            }
            continue ;
        }
        if(temp==0)
        {
            
            while(i<n)
            {
                i++;
                if(i%2!=0)
                {
                    printf("\xBA");
                    if(n==i)printf("\n");
                    continue ;
                }
                if(i%2==0)
                {
                    printf("   ");
                    continue ;
                }
                
            }
            continue ;
        }
        if(temp!=0&&j!=1)
        {
            while(i<n)
            {
                i++;
                if(i==1)
                {
                    printf("\xCC");
                    continue ;
                }
                if(n==i)
                {
                    printf("\xB9\n");
                    continue ;
                }
                if(i%2!=0)
                {
                    printf("\xCE");
                    continue ;
                }
                if(i%2==0)
                {
                    printf("\xCD\xCD\xCD");
                    continue ;
                }
                
            }
            continue ;

        }
    }
	return 0;
}
